<template>
	<!--新闻详情-->
	<div class="NewsDetails">
		<div class="banner">
			<div class="location">
				<div class="location-text fl">
					<img class="location-img fl" src="../../images/home/xinwen.png" />
					<p class="fr">工作动态</p>
				</div>
				<img class="biaotibg fl" src="../../images/home/biaotibg.png" />
				<p class="navigation">
					<span class="go-back">
						<router-link :to="{path:'/index',query:{fatherIndex:0}}">
							首页
						</router-link>
					</span> /
					<span class="go-back">
						<router-link  :to="{path:'/home',query:{fatherIndex:fatherIndex}}">
							工作动态
						</router-link>
					</span>
				</p>
			</div>
		</div>
		<div class="NewsInform-list">
			<div class="List-box">
				<div class="NewsDetails-text">
					<h3>{{workDynamic.name}}</h3>
					<p>{{formatData(workDynamic.createAt)}}</p>
				</div>
				<div class="NewsDetails-nav" v-html="workDynamic.content">
				</div>
				<div class="NewsDetails-nav enclosure" v-if="workDynamic.enclosureUrl != null && workDynamic.enclosureUrl != ''">
					附件：<a target="_blank" :href="urls.baseUrl + workDynamic.enclosureUrl">{{getFileName(workDynamic.enclosureUrl)}}</a>
				</div>
			</div>
		</div>
	</div>
</template>
<script src="./NewsDetails.js"></script>

<style scoped>
	@import "NewsDetails.css"
</style>